﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cocbook_DTO
{
    public class SBook2
    {
        public int ProjectID { get; set; }
        public Int64 ISBN { get; set; }
        public string Title { get; set; }
        public string Issuer { get; set; }
        public double Price { get; set; }
        public int TableNo { get; set; }

        public SBook2(Project_Book b)
        {
            ProjectID = b.Project.ProjectID;
            ISBN = b.Book.ISBN;
            Title = b.Book.Title;
            Issuer = b.Book.Issuer;
            Price = b.Book.Price;
            TableNo = b.TableNumber;
        }
    }
}
